#include <iostream>
using namespace std;

extern int internal_i = 1;
int main() {
	while(char c = cin.get() != 'q') {
	//	cout << c << endl;
	}
	return 0;
}

